<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>QMenu Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">QMenu Class Reference</h1>
<h3 align="center">[<a href="qt_widgets.html">qt.widgets</a> package]</h3>
<p>Inherits <a href="qwidget.html">QWidget</a>.</p>
<h3>Constructor</h3>
<ul>
<li><div class="fn"/><b>void QMenu(QWidget parent)</b></li>
<li><div class="fn"/><b>void QMenu(String title, QWidget parent)</b></li>
</ul>
<h3>Constructor Properties</h3>
<ul>
<li><b>prototype</b>: The QMenu prototype object</li>
<li><div class="fn"/><b>QAction exec(List actions, QPoint pos, QAction at, QWidget parent)</b></li>
</ul>
<h3>Prototype Object Properties</h3>
<p>The QMenu prototype object inherits properties from the <a href="qwidget.html">QWidget</a> prototype object and also has the following properties.</p>
<ul>
<li><div class="fn"/><b>QAction actionAt(QPoint arg__1)</b></li>
<li><div class="fn"/><b>QRect actionGeometry(QAction arg__1)</b></li>
<li><div class="fn"/><b>QAction activeAction()</b></li>
<li><div class="fn"/><b>QAction addAction(QIcon icon, String text)</b></li>
<li><div class="fn"/><b>QAction addMenu(QMenu menu)</b></li>
<li><div class="fn"/><b>QAction addSection(QIcon icon, String text)</b></li>
<li><div class="fn"/><b>QAction addSeparator()</b></li>
<li><div class="fn"/><b>void clear()</b></li>
<li><div class="fn"/><b>QAction defaultAction()</b></li>
<li><div class="fn"/><b>QAction exec()</b></li>
<li><div class="fn"/><b>void hideTearOffMenu()</b></li>
<li><div class="fn"/><b>QAction insertMenu(QAction before, QMenu menu)</b></li>
<li><div class="fn"/><b>QAction insertSection(QAction before, QIcon icon, String text)</b></li>
<li><div class="fn"/><b>QAction insertSeparator(QAction before)</b></li>
<li><div class="fn"/><b>bool isEmpty()</b></li>
<li><div class="fn"/><b>bool isTearOffMenuVisible()</b></li>
<li><div class="fn"/><b>QAction menuAction()</b></li>
<li><div class="fn"/><b>void popup(QPoint pos, QAction at)</b></li>
<li><div class="fn"/><b>void setActiveAction(QAction act)</b></li>
<li><div class="fn"/><b>void setDefaultAction(QAction arg__1)</b></li>
<li><div class="fn"/><b>QSize sizeHint()</b></li>
</ul>
<h3>Instance Properties</h3>
<p>QMenu objects inherit properties from the QMenu prototype object and also have the following properties.</p>
<ul>
<li><div class="fn"/><b>tearOffEnabled</b></li>
<li><div class="fn"/><b>title</b></li>
<li><div class="fn"/><b>icon</b></li>
<li><div class="fn"/><b>separatorsCollapsible</b></li>
<li><div class="fn"/><b>toolTipsVisible</b></li>
</ul>
</body>
</html>
